{% assign page = include.page %}

<h1>
{% if include.isPermalink %}
  {{ page.title }}
{% else %}
  <a href="/react{{ page.url }}">{{ page.title }}</a>
{% endif %}
</h1>

<p class="meta">
  {{ page.date | date: "%B %e, %Y" }}
  by
  {% for author in page.authors %}
    {% if author.url %}
      <a href="{{author.url}}">{{ author.name }}</a>
    {% else %}
      {{ author.name }}
    {% endif %}
    {% if forloop.last == false %} and {% endif %}
  {% endfor %}
</p>

<hr>

<div class="post">
  {{ include.content }}
</div>

{% if include.isPermalink %}
  <div class="fb-like" data-send="true" data-width="650" data-show-faces="false"></div>
{% endif %}
